<link rel="stylesheet" href="<?=$this->baseUrl()?>/css/main.index.status.css" />
<?php if(isset($this->session)): ?>
    Welcome, <?=$this->session['full_name']?>!
    <a class="thelink" href="<?=$this->baseUrl()?>/booking">My bookings</a>
    <a class="thelink" href="<?=$this->baseUrl()?>/auth/logout">Logout</a>
<?php else: ?>
    <div id="login-form">
    <form name="user-login" action="<?=$this->baseUrl()?>/auth/login" method="POST">
        Email <?=$this->formText('email','',array('size'=>'10'))?>
        Password <?=$this->formPassword('password','',array('size'=>'10'))?>
        <?=$this->formSubmit('submit','Login')?>
    </form>
    </div>
<?php endif ?>